home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 15
/
BBS in a box XV-2.iso
/
Files II
/
Prog
/
M
/
MacPerl 4.13 appl.sit
/
MacPerl ƒ
/
t
/
op
/
fork.t
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
1993-10-23
|
269 b
|
17 lines
|
[
TEXT/MPS
]
#!./perl
# $Header: fork.t,v 4.0 91/03/20 01:52:43 lwall Locked $
$| = 1;
print "1..2\n";
if ($cid = fork) {
sleep 2;
if ($result = (kill 9, $cid)) {print "ok 2\n";} else {print "not ok 2 $result\n";}
}
else {
$| = 1;
print "ok 1\n";
sleep 10;
}